package com.oauth2.repository;


import javax.transaction.Transactional;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import com.oauth2.entity.GatewayUser;

public interface GatewayUserRepository extends JpaRepository<GatewayUser, String>{
	
	@Query(value = "select * from  gateway_user where client_id=?1 ", nativeQuery = true)  
	public GatewayUser findByid(String clientId);
	
	
}
